package com.ocean.core.util.upload.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 视频config
 *
 * @author zhang
 * @since 2023/11/28
 */
@Data
@Component
@ConfigurationProperties(prefix = "ocean.video")
public class VideoProperties {

    /**
     * 封面宽度
     */
    private Integer width = 370;

    /**
     * 封面高度
     */
    private Integer height = 250;

    /**
     * 上传地址
     */
    private String upload;

    /**
     * 封面访问地址
     */
    private String requestUrl;
}
